home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / muds / mordor_2.000 / mordor_2 / objmon / computer_printout < prev    next >
Text File  |  1994-09-09  |  15KB  |  345 lines

  1. /*
  2.  * MTYPE.H:
  3.  *
  4.  *      #defines required by the rest of the program
  5.  *
  6.  *      Copyright (C) 1991, 1992, 1993 Brett J. Vickers
  7.  *
  8.  */
  9.  
  10. /* Character classes */
  11. #define ASSASSIN        1
  12. #define BARBARIAN       2
  13. #define CLERIC          3
  14. #define FIGHTER         4
  15. #define MAGE            5
  16. #define PALADIN         6
  17. #define RANGER          7
  18. #define THIEF           8
  19. #define CARETAKER       9
  20. #define DM              10
  21.  
  22. /* Character races */
  23. #define DWARF           1
  24. #define ELF             2
  25. #define HALFELF         3
  26. #define HOBBIT          4
  27. #define HUMAN           5
  28. #define ORC             6
  29. #define HALFGIANT       7
  30. #define GNOME           8
  31.  
  32. /* creature types */
  33. #define PLAYER          0
  34. #define MONSTER         1
  35. #define NPC             2
  36.  
  37. /* object types */
  38. #define ARMOR           5
  39. #define POTION          6
  40. #define SCROLL          7
  41. #define WAND            8
  42. #define CONTAINER       9
  43. #define MONEY           10
  44. #define KEY             11
  45. #define LIGHTSOURCE     12
  46. #define MISC            13
  47.  
  48. /* Proficiencies */
  49. #define SHARP           0
  50. #define THRUST          1
  51. #define BLUNT           2
  52. #define POLE            3
  53. #define MISSILE         4
  54.  
  55. /* Spell Realms */
  56. #define EARTH           1
  57. #define WIND            2
  58. #define FIRE            3
  59. #define WATER           4
  60.  
  61.  
  62. /* Wear locations */
  63. #define BODY            1
  64. #define ARMS            2
  65. #define LEGS            3
  66. #define NECK            4
  67. #define NECK1           4
  68. #define NECK2           5
  69. #define HANDS           6
  70. #define HEAD            7
  71. #define FEET            8
  72. #define FINGER          9
  73. #define FINGER1         9
  74. #define FINGER2         10
  75. #define FINGER3         11
  76. #define FINGER4         12
  77. #define FINGER5         13
  78. #define FINGER6         14
  79. #define FINGER7         15
  80. #define FINGER8         16
  81. #define HELD            17
  82. #define SHIELD          18
  83. #define FACE            19
  84. #define WIELD           20
  85.  
  86. /* Spell flags */
  87. #define SVIGOR          0       /* vigor */
  88. #define SHURTS          1       /* hurt */
  89. #define SLIGHT          2       /* light */
  90. #define SCUREP          3       /* curepoison */
  91. #define SBLESS          4       /* bless */
  92. #define SPROTE          5       /* protection */
  93. #define SFIREB          6       /* fireball */
  94. #define SINVIS          7       /* invisibility */
  95. #define SRESTO          8       /* restore */
  96. #define SDINVI          9       /* detect-invisibility */
  97. #define SDMAGI          10      /* detect-magic */
  98. #define STELEP          11      /* teleport */
  99. #define SBEFUD          12      /* befuddle */
  100. #define SLGHTN          13      /* lightning */
  101. #define SICEBL          14      /* iceblade */
  102. #define SENCHA          15      /* enchant */
  103. #define SRECAL          16      /* word-of-recall */
  104. #define SSUMMO          17      /* summon */
  105. #define SMENDW          18      /* mend-wounds */
  106. #define SFHEAL          19      /* heal */
  107. #define STRACK          20      /* track */
  108. #define SLEVIT          21      /* levitation */
  109. #define SRFIRE          22      /* resist-fire */
  110. #define SFLYSP          23      /* fly */
  111. #define SRMAGI          24      /* resist-magic */
  112. #define SSHOCK          25      /* shockbolt */
  113. #define SRUMBL          26      /* rumble */
  114. #define SBURNS          27      /* burn */
  115. #define SBLIST          28      /* blister */
  116. #define SDUSTG          29      /* dustgust */
  117. #define SWBOLT          30      /* waterbolt */
  118. #define SCRUSH          31      /* stonecrush */
  119. #define SENGUL          32      /* engulf */
  120. #define SBURST          33      /* burstflame */
  121. #define SSTEAM          34      /* steamblast */
  122. #define SSHATT          35      /* shatterstone */
  123. #define SIMMOL          36      /* immolate */
  124. #define SBLOOD          37      /* bloodboil */
  125. #define STHUND          38      /* thunderbolt */
  126. #define SEQUAK          39      /* earthquake */
  127. #define SFLFIL          40      /* flamefill */
  128. #define SKNOWA          41      /* know-alignment */
  129. #define SREMOV          42      /* remove-curse */
  130. #define SRCOLD          43      /* resist-cold */
  131. #define SBRWAT          44      /* breathe water */
  132. #define SSSHLD          45      /* stone shield */
  133. #define SLOCAT          46      /* locate player */
  134. #define SDREXP          47      /* drain energy (exp) */
  135. #define SRMDIS          48      /* cure disease */
  136. #define SRMBLD          49      /* cure blindess */
  137. #define SFEARS          50      /* fear */
  138.  
  139. /* Trap types */
  140. #define TRAP_PIT        1       /* Pit trap */
  141. #define TRAP_DART       2       /* Poison dart trap */
  142. #define TRAP_BLOCK      3       /* Falling block */
  143. #define TRAP_MPDAM      4       /* Mp damaging trap */
  144. #define TRAP_RMSPL      5       /* Spell loss trap */
  145. #define TRAP_NAKED      6       /* player loses all items */
  146. #define TRAP_ALARM      7       /* monster alarm trap */
  147.  
  148. /* Spell casting types */
  149. #define CAST            0
  150.  
  151. /* Room flags */
  152. #define RSHOPP          0       /* Shoppe */
  153. #define RDUMPR          1       /* Dump */
  154. #define RPAWNS          2       /* Pawn Shoppe */
  155. #define RTRAIN          3       /* Training class bits (3-6) */
  156. #define RREPAI          7       /* Repair Shoppe */
  157. #define RDARKR          8       /* Room is dark always */
  158. #define RDARKN          9       /* Room is dark at night */
  159. #define RPOSTO          10      /* Post office */
  160. #define RNOKIL          11      /* Safe room, no playerkilling */
  161. #define RNOTEL          12      /* Cannot teleport to this room */
  162. #define RHEALR          13      /* Heal faster in this room */
  163. #define RONEPL          14      /* 1-player only inside */
  164. #define RTWOPL          15      /* 2-players only inside */
  165. #define RTHREE          16      /* 3-players only inside */
  166. #define RNOMAG          17      /* No magic allowed in room */
  167. #define RPTRAK          18      /* Permanent tracks in room */
  168. #define REARTH          19      /* Earth realm */
  169. #define RWINDR          20      /* Wind realm */
  170. #define RFIRER          21      /* Fire realm */
  171. #define RWATER          22      /* Water realm */
  172. #define RPLWAN          23      /* Player-dependent monster wanders */
  173. #define RPHARM          24      /* player harming room */
  174. #define RPPOIS          25      /* player poison room */
  175. #define RPMPDR          26      /* player mp drain room */
  176. #define RPBEFU          27      /* player befuddle room */
  177. #define RNOLEA          28      /* player can not be summon out */
  178. #define RPLDGK          29      /* player can pledge in room */
  179. #define RRSCND          30      /* player can rescind in room */
  180. #define RNOPOT          31      /*  no potion room */
  181. #define RPMEXT          32      /* Player magic spell extend */
  182. #define RNOLOG          33      /* No player login */
  183. #define RELECT          34      /* Election Booth */ 
  184.  
  185. /* Player flags */
  186. #define PBLESS          0       /* Bless spell */
  187. #define PHIDDN          1       /* Hidden */
  188. #define PINVIS          2       /* Invisibility */
  189. #define PNOBRD          3       /* Don't show broadcasts */
  190. #define PNOLDS          4       /* Don't show long description */
  191. #define PNOSDS          5       /* Don't show short description */
  192. #define PNORNM          6       /* Don't show room name */
  193. #define PNOEXT          7       /* Don't show exits */
  194. #define PPROTE          8       /* Protection spell */
  195. #define PNOAAT          9       /* no auto attack for players */
  196. #define PDMINV          10      /* DM Invisibility */
  197. #define PNOCMP          11      /* Non-compact */
  198. #define PMALES          12      /* Sex == male */
  199. #define PHEXLN          13      /* Hexline */
  200. #define PWIMPY          14      /* Wimpy mode */
  201. #define PEAVES          15      /* Eavesdropping mode */
  202. #define PPOISN          16      /* Poisoned */
  203. #define PLIGHT          17      /* Light spell cast */
  204. #define PPROMP          18      /* Display status prompt */
  205. #define PHASTE          19      /* Haste flag (for rangers) */
  206. #define PDMAGI          20      /* Detect magic */
  207. #define PDINVI          21      /* Detect invisible */
  208. #define PPRAYD          22      /* Prayer activated */
  209. #define PROBOT          23      /* Robot mode */
  210. #define PPREPA          24      /* Prepared for trap */
  211. #define PLEVIT          25      /* Levitation */
  212. #define PANSIC          26      /* Ansi Color */
  213. #define PSPYON          27      /* Spying on someone */
  214. #define PCHAOS          28      /* Chaotic/!Lawful */
  215. #define PREADI          29      /* Reading a file */
  216. #define PRFIRE          30      /* Resisting fire */
  217. #define PFLYSP          31      /* Flying */
  218. #define PRMAGI          32      /* Resist magic */
  219. #define PKNOWA          33      /* Know alignment */
  220. #define PNOSUM          34      /* Nosummon flag */
  221. #define PIGNOR          35      /* Ignore all send */ 
  222. #define PRCOLD          36      /* Resist-cold flag */
  223. #define PBRWAT          37      /* Breathe wateR flag */
  224. #define PSSHLD          38      /* Resist-cold flag */
  225. #define PPLDGK          39      /* player pledge to a prince */
  226. #define PKNGDM          40      /* Pledge to prince 0/1 */
  227. #define PDISEA          41      /* Player is diseased */
  228. #define PBLIND          42      /* Player is blind */
  229.  
  230. /* Monster flags */
  231. #define MPERMT          0       /* Permanent monster */
  232. #define MHIDDN          1       /* Hidden */
  233. #define MINVIS          2       /* Invisible */
  234. #define MTOMEN          3       /* Man to men on plural */
  235. #define MDROPS          4       /* Don't add s on plural */
  236. #define MNOPRE          5       /* No prefix */
  237. #define MAGGRE          6       /* Aggressive */
  238. #define MGUARD          7       /* Guards treasure */
  239. #define MBLOCK          8       /* Blocks exits */
  240. #define MFOLLO          9       /* Monster follows attacker */
  241. #define MFLEER          10      /* Monster flees */
  242. #define MSCAVE          11      /* Monster is a scavenger */
  243. #define MMALES          12      /* Sex == male */
  244. #define MPOISS          13      /* Poisoner */
  245. #define MUNDED          14      /* Undead */
  246. #define MUNSTL          15      /* Cannot be stolen from */
  247. #define MPOISN          16      /* Poisoned */
  248. #define MMAGIC          17      /* Can cast spells */
  249. #define MHASSC          18      /* Has already scavenged something */
  250. #define MBRETH          19      /* Breath weapon */
  251. #define MMGONL          20      /* Can only be harmed by magic */
  252. #define MDINVI          21      /* Detect invisibility */
  253. #define MENONL          22      /* Can only be harmed by magic/ench.weapon */
  254. #define MTALKS          23      /* Monster can talk interactively */
  255. #define MUNKIL          24      /* Monster cannot be harmed */
  256. #define MNRGLD          25      /* Monster has fixed amt of gold */
  257. #define MTLKAG          26      /* Becomes aggressive after talking */
  258. #define MRMAGI          27      /* Resist magic */
  259. #define MBRWP1          28      /* MBRWP1 & MBRWP2 type of breath */
  260. #define MBRWP2          29      /* 00 =fire, 01= ice, 10 =gas, 11= acid */
  261. #define MENEDR          30      /* energy (exp) drain */
  262. #define MKNGDM          31      /* monster belongs to kingdom 0/1 */
  263. #define MPLDGK          32      /* players can pledge to monster */
  264. #define MRSCND          33      /* players can rescind to monster */
  265. #define MDISEA          34      /* Monster causes disease */
  266. #define MDISIT          35      /* Monster can dissolve items */
  267. #define MPURIT          36      /* player can purchase from monster */
  268. #define MTRADE          37      /* monster will giuve items */
  269. #define MPGUAR          38      /* passive exit guard */
  270. #define MGAGGR          39      /* Monster aggro to good players */
  271. #define MEAGGR          40      /* Monster aggro to evil players */
  272. #define MDEATH          41      /* Monster has additon desc after death */
  273.  
  274.  
  275.  
  276. /* Object flags */
  277. #define OPERMT          0       /* Permanent item (not yet taken) */
  278. #define OHIDDN          1       /* Hidden */
  279. #define OINVIS          2       /* Invisible */
  280. #define OSOMEA          3       /* "some" prefix */
  281. #define ODROPS          4       /* Don't add s on plural */
  282. #define ONOPRE          5       /* No prefix */
  283. #define OCONTN          6       /* Container object */
  284. #define OWTLES          7       /* Container of weightless holding */
  285. #define OTEMPP          8       /* Temporarily permanent */
  286. #define OPERM2          9       /* Permanent INVENTORY item */
  287. #define ONOMAG          10      /* Mages cannot wear/use it */
  288. #define OLIGHT          11      /* Object serves as a light */
  289. #define OGOODO          12      /* Usable only by good players */
  290. #define OEVILO          13      /* Usable only by evil players */
  291. #define OENCHA          14      /* Object enchanted */
  292. #define ONOFIX          15      /* Cannot be repaired */
  293. #define OCLIMB          16      /* Climbing gear */
  294. #define ONOTAK          17      /* Cannot be taken */
  295. #define OSCENE          18      /* Part of room description/scenery */
  296. #define OSIZE1          19      /* OSIZE: 00=all wear, 01=small wear, */
  297. #define OSIZE2          20      /* 10=medium wear, 11=large wear */
  298. #define ORENCH          21      /* Random enchantment flag */
  299. #define OCURSE          22      /* The item is cursed */
  300. #define OWEARS          23      /* The item is being worn */
  301. #define OUSEFL          24      /* Can be used from the floor */
  302. #define OCNDES          25      /* Container devours items */
  303. #define ONOMAL          26      /* Usable by only females */
  304. #define ONOFEM          27      /* Usable by only males */
  305. #define ODDICE          28      /* damage based on object nds */
  306. #define OPLDGK          29      /* pledge players may only use */
  307. #define OKNGDM          30      /* object belongs to kingdom 0/1 */
  308. #define OCLSEL          31      /* class selective weapon */
  309. #define OASSNO          32      /* class selective: assassin */
  310. #define OBARBO          33      /* class selective: barbarian */
  311. #define OCLERO          34      /* class selective: cleric */
  312. #define OFIGHO          35      /* class selective: fighter */
  313. #define OMAGEO          36      /* class selective: mage */
  314. #define OPALAO          37      /* class selective: paladin */
  315. #define ORNGRO          38      /* class selective: ranger */
  316. #define OTHIEO          39      /* class selective: thief */
  317.  
  318. /* Exit flags */
  319. #define XSECRT          0       /* Secret */
  320. #define XINVIS          1       /* Invisible */
  321. #define XLOCKD          2       /* Locked */
  322. #define XCLOSD          3       /* Closed */
  323. #define XLOCKS          4       /* Lockable */
  324. #define XCLOSS          5       /* Closable */
  325. #define XUNPCK          6       /* Un-pickable lock */
  326. #define XNAKED          7       /* Naked exit */
  327. #define XCLIMB          8       /* Climbing gear required to go up */
  328. #define XREPEL          9       /* Climbing gear require to repel */
  329. #define XDCLIM          10      /* Very difficult climb */
  330. #define XFLYSP          11      /* Must fly to go that way */
  331. #define XFEMAL          12      /* female only exit */
  332. #define XMALES          13      /* male only exit */
  333. #define XPLDGK          14      /* pledge player exit only */
  334. #define XKNGDM          15      /* exit for kingdom 0/1 */
  335. #define XNGHTO          16      /* only open at night */
  336. #define XDAYON          17      /* only open during day */
  337. #define XPGUAR          18      /* passive guarded exit */
  338. #define XNOSEE          19      /* Can not use / see exit */
  339.  
  340.  
  341. /* specials */
  342. #define SP_MAPSC        1       /* Map or scroll */
  343. #define SP_COMBO        2       /* Combination lock */
  344.  
  345.